home *** CD-ROM | disk | FTP | other *** search
/ 17 Bit Software 6: Level 6 / 17 Bit - Level 6 (1998)(Epic Marketing)[!].iso / quartz / q1024.dms / q1024.adf / NDUK-V40.lha / V40 / fd / dos_lib.fd < prev    next >
Text File  |  1993-10-15  |  6KB  |  209 lines

  1. ##base _DOSBase
  2. ##bias 30
  3. ##public
  4. Open(name,accessMode)(d1/d2)
  5. Close(file)(d1)
  6. Read(file,buffer,length)(d1/d2/d3)
  7. Write(file,buffer,length)(d1/d2/d3)
  8. Input()()
  9. Output()()
  10. Seek(file,position,offset)(d1/d2/d3)
  11. DeleteFile(name)(d1)
  12. Rename(oldName,newName)(d1/d2)
  13. Lock(name,type)(d1/d2)
  14. UnLock(lock)(d1)
  15. DupLock(lock)(d1)
  16. Examine(lock,fileInfoBlock)(d1/d2)
  17. ExNext(lock,fileInfoBlock)(d1/d2)
  18. Info(lock,parameterBlock)(d1/d2)
  19. CreateDir(name)(d1)
  20. CurrentDir(lock)(d1)
  21. IoErr()()
  22. CreateProc(name,pri,segList,stackSize)(d1/d2/d3/d4)
  23. Exit(returnCode)(d1)
  24. LoadSeg(name)(d1)
  25. UnLoadSeg(seglist)(d1)
  26. ##private
  27. dosPrivate1()()
  28. dosPrivate2()()
  29. ##public
  30. DeviceProc(name)(d1)
  31. SetComment(name,comment)(d1/d2)
  32. SetProtection(name,protect)(d1/d2)
  33. DateStamp(date)(d1)
  34. Delay(timeout)(d1)
  35. WaitForChar(file,timeout)(d1/d2)
  36. ParentDir(lock)(d1)
  37. IsInteractive(file)(d1)
  38. Execute(string,file,file2)(d1/d2/d3)
  39. *--- functions in V36 or higher (Release 2.0) ---
  40. *    DOS Object creation/deletion
  41. AllocDosObject(type,tags)(d1/d2)
  42. FreeDosObject(type,ptr)(d1/d2)
  43. *    Packet Level routines
  44. DoPkt(port,action,arg1,arg2,arg3,arg4,arg5)(d1/d2/d3/d4/d5/d6/d7)
  45. SendPkt(dp,port,replyport)(d1/d2/d3)
  46. WaitPkt()()
  47. ReplyPkt(dp,res1,res2)(d1/d2/d3)
  48. AbortPkt(port,pkt)(d1/d2)
  49. *    Record Locking
  50. LockRecord(fh,offset,length,mode,timeout)(d1/d2/d3/d4/d5)
  51. LockRecords(recArray,timeout)(d1/d2)
  52. UnLockRecord(fh,offset,length)(d1/d2/d3)
  53. UnLockRecords(recArray)(d1)
  54. *    Buffered File I/O
  55. SelectInput(fh)(d1)
  56. SelectOutput(fh)(d1)
  57. FGetC(fh)(d1)
  58. FPutC(fh,ch)(d1/d2)
  59. UnGetC(fh,character)(d1/d2)
  60. FRead(fh,block,blocklen,number)(d1/d2/d3/d4)
  61. FWrite(fh,block,blocklen,number)(d1/d2/d3/d4)
  62. FGets(fh,buf,buflen)(d1/d2/d3)
  63. FPuts(fh,str)(d1/d2)
  64. VFWritef(fh,format,argarray)(d1/d2/d3)
  65. VFPrintf(fh,format,argarray)(d1/d2/d3)
  66. Flush(fh)(d1)
  67. SetVBuf(fh,buff,type,size)(d1/d2/d3/d4)
  68. *    DOS Object Management
  69. DupLockFromFH(fh)(d1)
  70. OpenFromLock(lock)(d1)
  71. ParentOfFH(fh)(d1)
  72. ExamineFH(fh,fib)(d1/d2)
  73. SetFileDate(name,date)(d1/d2)
  74. NameFromLock(lock,buffer,len)(d1/d2/d3)
  75. NameFromFH(fh,buffer,len)(d1/d2/d3)
  76. SplitName(name,seperator,buf,oldpos,size)(d1/d2/d3/d4/d5)
  77. SameLock(lock1,lock2)(d1/d2)
  78. SetMode(fh,mode)(d1/d2)
  79. ExAll(lock,buffer,size,data,control)(d1/d2/d3/d4/d5)
  80. ReadLink(port,lock,path,buffer,size)(d1/d2/d3/d4/d5)
  81. MakeLink(name,dest,soft)(d1/d2/d3)
  82. ChangeMode(type,fh,newmode)(d1/d2/d3)
  83. SetFileSize(fh,pos,mode)(d1/d2/d3)
  84. *    Error Handling
  85. SetIoErr(result)(d1)
  86. Fault(code,header,buffer,len)(d1/d2/d3/d4)
  87. PrintFault(code,header)(d1/d2)
  88. ErrorReport(code,type,arg1,device)(d1/d2/d3/d4)
  89. *--- (1 function slot reserved here) ---
  90. ##bias 492
  91. *    Process Management
  92. Cli()()
  93. CreateNewProc(tags)(d1)
  94. RunCommand(seg,stack,paramptr,paramlen)(d1/d2/d3/d4)
  95. GetConsoleTask()()
  96. SetConsoleTask(task)(d1)
  97. GetFileSysTask()()
  98. SetFileSysTask(task)(d1)
  99. GetArgStr()()
  100. SetArgStr(string)(d1)
  101. FindCliProc(num)(d1)
  102. MaxCli()()
  103. SetCurrentDirName(name)(d1)
  104. GetCurrentDirName(buf,len)(d1/d2)
  105. SetProgramName(name)(d1)
  106. GetProgramName(buf,len)(d1/d2)
  107. SetPrompt(name)(d1)
  108. GetPrompt(buf,len)(d1/d2)
  109. SetProgramDir(lock)(d1)
  110. GetProgramDir()()
  111. *    Device List Management
  112. SystemTagList(command,tags)(d1/d2)
  113. AssignLock(name,lock)(d1/d2)
  114. AssignLate(name,path)(d1/d2)
  115. AssignPath(name,path)(d1/d2)
  116. AssignAdd(name,lock)(d1/d2)
  117. RemAssignList(name,lock)(d1/d2)
  118. GetDeviceProc(name,dp)(d1/d2)
  119. FreeDeviceProc(dp)(d1)
  120. LockDosList(flags)(d1)
  121. UnLockDosList(flags)(d1)
  122. AttemptLockDosList(flags)(d1)
  123. RemDosEntry(dlist)(d1)
  124. AddDosEntry(dlist)(d1)
  125. FindDosEntry(dlist,name,flags)(d1/d2/d3)
  126. NextDosEntry(dlist,flags)(d1/d2)
  127. MakeDosEntry(name,type)(d1/d2)
  128. FreeDosEntry(dlist)(d1)
  129. IsFileSystem(name)(d1)
  130. *    Handler Interface
  131. Format(filesystem,volumename,dostype)(d1/d2/d3)
  132. Relabel(drive,newname)(d1/d2)
  133. Inhibit(name,onoff)(d1/d2)
  134. AddBuffers(name,number)(d1/d2)
  135. *    Date, Time Routines
  136. CompareDates(date1,date2)(d1/d2)
  137. DateToStr(datetime)(d1)
  138. StrToDate(datetime)(d1)
  139. *    Image Management
  140. InternalLoadSeg(fh,table,funcarray,stack)(d0/a0/a1/a2)
  141. InternalUnLoadSeg(seglist,freefunc)(d1/a1)
  142. NewLoadSeg(file,tags)(d1/d2)
  143. AddSegment(name,seg,system)(d1/d2/d3)
  144. FindSegment(name,seg,system)(d1/d2/d3)
  145. RemSegment(seg)(d1)
  146. *    Command Support
  147. CheckSignal(mask)(d1)
  148. ReadArgs(arg_template,array,args)(d1/d2/d3)
  149. FindArg(keyword,arg_template)(d1/d2)
  150. ReadItem(name,maxchars,cSource)(d1/d2/d3)
  151. StrToLong(string,value)(d1/d2)
  152. MatchFirst(pat,anchor)(d1/d2)
  153. MatchNext(anchor)(d1)
  154. MatchEnd(anchor)(d1)
  155. ParsePattern(pat,buf,buflen)(d1/d2/d3)
  156. MatchPattern(pat,str)(d1/d2)
  157. ##private
  158. dosPrivate3()()
  159. ##public
  160. FreeArgs(args)(d1)
  161. *--- (1 function slot reserved here) ---
  162. ##bias 870
  163. FilePart(path)(d1)
  164. PathPart(path)(d1)
  165. AddPart(dirname,filename,size)(d1/d2/d3)
  166. *    Notification
  167. StartNotify(notify)(d1)
  168. EndNotify(notify)(d1)
  169. *    Environment Variable functions
  170. SetVar(name,buffer,size,flags)(d1/d2/d3/d4)
  171. GetVar(name,buffer,size,flags)(d1/d2/d3/d4)
  172. DeleteVar(name,flags)(d1/d2)
  173. FindVar(name,type)(d1/d2)
  174. ##private
  175. dosPrivate4()()
  176. ##public
  177. CliInitNewcli(dp)(a0)
  178. CliInitRun(dp)(a0)
  179. WriteChars(buf,buflen)(d1/d2)
  180. PutStr(str)(d1)
  181. VPrintf(format,argarray)(d1/d2)
  182. *--- (1 function slot reserved here) ---
  183. ##bias 966
  184. * these were unimplemented until dos 36.147
  185. ParsePatternNoCase(pat,buf,buflen)(d1/d2/d3)
  186. MatchPatternNoCase(pat,str)(d1/d2)
  187. ##private
  188. dosPrivate5()()
  189. ##public
  190. * this was added for V37 dos, returned 0 before then.
  191. SameDevice(lock1,lock2)(d1/d2)
  192. *
  193. * NOTE: the following entries did NOT exist before ks 36.303 (2.02)
  194. * If you are going to use them, open dos.library with version 37
  195. *
  196. * These calls were added for V39 dos:
  197. ExAllEnd(lock,buffer,size,data,control)(d1/d2/d3/d4/d5)
  198. SetOwner(name,owner_info)(d1/d2)
  199. ##private
  200. *--- (2 function slots reserved here) ---
  201. ##bias 1014
  202. *--- (2 function slots reserved here) ---
  203. ##bias 1026
  204. *--- (2 function slots reserved here) ---
  205. ##bias 1038
  206. *--- (2 function slots reserved here) ---
  207. ##bias 1050
  208. ##end
  209.